home *** CD-ROM | disk | FTP | other *** search
/ United Public Domain Gold 2 / United Public Domain Gold 2.iso / utilities / pu713.dms / pu713.adf / PaletteMerger / English next >
Text File  |  1994-08-15  |  2KB  |  45 lines

  1.  
  2.                              PaletteMerger
  3.  
  4.               A small Freeware utility by Rüdiger Hanke
  5.  
  6. I. The idea
  7. -----------
  8.   I'm currently programming an AGA shareware adventure game with lots of
  9. raytraycer backgrounds. However, I faced the problem that certain objects
  10. and characters can move from room to room...
  11.   Using a fixed color palette isn't very nice (look at those new Sierra
  12. games for the Amiga, and you'll see what I'm talking about), so I decided
  13. to use the first 128 colors as "fixed" colors and vary the last 128 colors
  14. from room to room. However, all Amiga painting programs I own (I own
  15. DPaint III, PPaint 2.0 and Brilliance) were only able to load the whole
  16. palette, and not only a part of it.
  17.   After a long, long night I wrote PaletteMerger. Just as you would expect,
  18. it merges two palettes together - that's all about it.
  19.  
  20. II. System Requirements
  21. -----------------------
  22.   Just as any good programmer, I'm a lazy guy, so I used the AllocVec()
  23. and FreeVec() routines instead of AllocMem() and FreeMem(). This means
  24. that you need AmigaOS 2.0 or later.
  25.  
  26. III. Using PaletteMerger
  27. ------------------------
  28.   Usage: PaletteMerger [Palette_1] [Palette_2] [Merged_Palette]
  29.  
  30.   Palette_1 and Palette_2 are the palettes you want to join, Merged_Palette
  31. is the output file. The input files must be standard IFF files, and both
  32. palettes must be of the same size (merging a 2-color and a 32-color palette
  33. would be very useful)
  34.   PaletteMerger will basically copy ALL CHUNKS from the Palette_1 file into
  35. the Merged_Palette file and copy the CMAP (Color MAP)-chunk of the second
  36. input file AFTER that of the first. It will NOT copy any other chunks from
  37. the second input file!
  38.   Well... that's all. Hope you can use it.
  39.  
  40.   Rüdiger Hanke
  41.   An der Marienlinde 10
  42.   D-48291 Telgte
  43.   GERMANY
  44.  
  45.